package structural_pattern.proxy.static_proxy;

public class ProxyStation implements SellTickets{

    // 对原始类的引用
    private TrainStation trainStation = new TrainStation();

    @Override
    public void sell() {
        // 对原始类功能的扩展
        System.out.println("代理点");

        trainStation.sell();
    }
}
